package com.zc.cityman.mapper;

import com.zc.cityman.pojo.Citizen;
import com.zc.cityman.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Mapper
public interface CitizenMapper {
    List<Citizen> getall();
    public Integer delmany(List<Integer> ids);
    List<Citizen> search(String name, Integer age, Date starttime, Date endtime);
    int datadel(Integer id,String name);
    int insert(Citizen citizen);
    int change(Citizen citizen);
    List<Citizen> searchByCard(String card);
}
